package com.hhd.pdf.components;

import com.hhd.pdf.context.GeneratorContext;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Element;
import org.dom4j.tree.DefaultElement;

import java.io.IOException;
import java.util.Collection;

public interface InLineComponent extends PdfComponent {
    public String getFormula(DefaultElement defaultElement);

    Collection<? extends Element> createPdfElement(DefaultElement defaultElement, GeneratorContext context, String parsedFormula) throws DocumentException, IOException;
}
